package com.enums;

/**
 * Created by Administrator on 2018/10/12 0012.
 */
public enum TeacherEnum {
    STAFF_ACCOUNT_NOT_EXIST(false, "请检查账号密码是否正确"),
    STAFF_ACCOUNT_DISABLE(false, "账号已过期"),
    STATUS_FAIL(false, "账号已停用"),
    ISBEING(false, "账号已存在"),
    PHONEBEING(false, "手机号已存在"),
    SUCCESS(true, "成功"),
    FAIL(false, "失败");
    private boolean status;
    private String msg;

    TeacherEnum(boolean status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
